//package com.atguigu.spzx.model.entity.chatmessage;
//
//import jakarta.persistence.Column;
//import jakarta.persistence.Table;
//import lombok.Data;
//
//import java.time.LocalDateTime;
//
//@Data
//@Table(name = "messages")
//public class Messages {
//
//    //messages表的id
//    private Integer id;
//    //聊天表的id
//    private Integer conversationId;
//    //发送者.
//    private String senderId;
//    //聊天记录
//    @Column(name = "content", columnDefinition = "TEXT")
//    private String content;
//    //时间
//    @Column(name = "timestamp")
//    private LocalDateTime timestamp;
//}
